<?php
$str = "17943596998137738847091593794520818397664593";
$tar = '9';
echo "9最后一次出现的位置是" . strrpos( $str, $tar );